
import request from '/@/utils/request';


export const getOrderList = (data) =>
request({
	url: `/api/ticket/sys/page`,
	method: 'post',
	data
});

// 添加
export const orderAdd = (data) =>
request({
	url: `/api/ticket/sys/add`,
	method: 'post',
	data
});

// 管理员添加
export const orderAdminAdd = (data) =>
request({
	url: `/api/ticket/sys/adminAdd`,
	method: 'post',
	data
});


// 删除
export const orderDelete = (data) =>
request({
	url: `/api/ticket/sys/delete`,
	method: 'post',
	data
});

// 修改
export const orderUpdate = (data) =>
request({
	url: `/api/ticket/sys/update`,
	method: 'post',
	data
});

// 工程师
export const getEngineer = (params) =>
request({
	url: `/api/ticket/sys/engineer`,
	method: 'get',
	params
});



